package com.jiyun.passenger.mapper;

import com.jiyun.pojo.OperatePassengerCharges;
import com.jiyun.pojo.Personal;
import com.jiyun.pojo.order.*;

public interface OrderInfoMapper {

    int addOrderInfo(OrderInformation orderInformation);
    int saveOrderCost(OrderCost orderCost);
    int saveOrderTimeOnOrderTime(OrderTime orderTime);

    OrderInformation findByPassengerPhone(OrderInformation orderInformation);


    OrderInformation findByOrderInfoId(OrderInformation orderInformation);

    OrderCost findByOrderCostId(OrderCost orderCost);

    OrderTime findBYOrderTimeId(OrderTime orderTime);

    OperatePassengerCharges findByMileageFee();

    Personal findByUser(OrderInformation orderInformation);

    OrderInformation findByOrder(OrderInformation orderInformation);

    OrderTime findByOrderIdTime(OrderTime orderTime);

    OperatePassengerCharges findByOperatePassengerCharges();

    OrderInformation selectOrderByOrderId(String orderId);
}
